E
getting further on this problem
found list of OSErrors ENOENT means No such file or directory
there was a typo in the file path
at this point i'm getting other errors at line 121
>>> sqnsupgrade.run('/sd/FIPY_GPY_NB1_37781.dup',921600)
<<< Welcome to the SQN3330 firmware updater >>>
Entering recovery mode
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/flash/lib/sqnsupgrade.py", line 121, in run
TypeError: extra keyword arguments given
>>>
reading the sqnsupgrade.py says that the line does
print('Resetting.', end='', flush=True)
guessing it is not important that to print something i removed the line
running the upgrade again gives me this
>>> sqnsupgrade.run('/sd/FIPY_GPY_NB1_37781.dup',921600)
<<< Welcome to the SQN3330 firmware updater >>>
Entering recovery mode
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/flash/lib/sqnsupgrade.py", line 123, in run
File "/flash/lib/sqnsupgrade.py", line 74, in wait_for_modem
TypeError: extra keyword arguments given
reading the code at that line 74 gives
print('.', end='', flush=True)
this makes me think that there is something wrong with the call of the print() function
so i removed the
flush=True
from both lines. after running the sqnsupgrade i now get the following
>>> sqnsupgrade.run('/sd/FIPY_GPY_NB1_37781.dup',921600)
<<< Welcome to the SQN3330 firmware updater >>>
Entering recovery mode
Resetting..
Starting STP (DO NOT DISCONNECT POWER!!!)
STP started
Session opened: version 1, max transfer 8192 bytes
Code download failed, aborting!
>>>
this is how far i am at he moment still looking in to this
any help is appreciated
edit:
after some more trying got some more info
if i try the update again i get this error
>>> sqnsupgrade.run('/sd/FIPY_GPY_NB1_37781.dup',921600)
<<< Welcome to the SQN3330 firmware updater >>>
Entering recovery mode
AT+SMSWBOOT=3,0 response b''
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/flash/lib/sqnsupgrade.py", line 131, in run
OSError: AT+SMSWBOOT=3,0 failed!
the modem is not responsive to any AT commands
if i send just AT+CGMI i get ERROR
i tried to locate the cause of the error of the code download
i eddited the sqnsupgrade.py to find out where this error is generated
it is in line 155
except:
blob.close()
print('Code download failed 2, aborting!')
abort = True
i'm really out of ideas for the moment